﻿<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<html lang="en">
<head>
    <title></title>
    <link href="scripts/nivo/nivo-slider.css" rel="stylesheet" type="text/css" />
    <link href="scripts/nivo/themes/default/default.css" rel="stylesheet" type="text/css" />
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/Windalert/scripts/Nivo/jquery.nivo.slider.js"></script>
    <script type="text/javascript">
        function getRandomInt() {
          return   Math.floor(Math.random() * 10000);
        }
    </script>
</head>
<body>  
        <div class="slider-wrapper theme-default" style="width:640px;" >
            <div id="slider" class="nivoSlider">
       
            </div>
        </div>
    <script type="text/javascript">
        $(window).load(function () {
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.0.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.1.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.2.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.3.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.4.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.5.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.6.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.7.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.8.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $("#slider").append("<img src='http://www.windalert.co.il/cameras/michmoret.9.jpg?" + getRandomInt() + "' style='width: 640px; visibility: hidden; display: inline-block;'>");
            $('#slider').nivoSlider({ controlNavThumbs: true, effect: 'none' });
        });
    </script>
</body>
</html>